﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DingDan.aspx.cs" Inherits="Chinaer.Web.DingDan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="lblDingDanName" runat="server" Text="订单名称" />
        <asp:TextBox ID="txtDingDanName" runat="server"></asp:TextBox>
        <br />
        <asp:Label ID="lblDingDanPrice" runat="server" Text="订单总金额" />
        <asp:TextBox ID="txtDingDanPrice" runat="server" />
        <br />
        <asp:Label ID="lblDianPuID" runat="server" Text="店铺编号" />
        <asp:TextBox ID="txtDianPuID" runat="server">1</asp:TextBox>
        <br />
        <asp:Label ID="lblAddressID" runat="server" Text="订单送货地址" />
        <asp:DropDownList ID="ddlAddress" runat="server" />
        <a href="Address.aspx" target="_blank">收货地址</a>
        <br />
        <asp:Label ID="lblCustomerID" runat="server" Text="顾客编号" />
        <asp:TextBox ID="txtCustomerID" runat="server">11</asp:TextBox>
        <br />
        <asp:Label ID="lblDingDanStatus" runat="server" Text="当前订单状态" />
        <asp:DropDownList ID="ddlDingDanStatus" runat="server">
        </asp:DropDownList>
        <a href="DingDanStatus.aspx" target="_blank">订单状态</a>
        <br />
        <asp:Label ID="lblCaiDanMingXi" runat="server" Text="菜单明细" />
        <asp:TextBox ID="txtCaiDanMingXiID" runat="server" />
        <br />
        <asp:Label ID="lblCount" runat="server" Text="订购个数">
        </asp:Label>
        <asp:TextBox ID="txtCount" runat="server" />
        <br />
        <asp:Button ID="btnSubmit" runat="server" Text="添加订单" OnClick="btnSubmit_Click" />
        <asp:Button ID="btnUpdate" runat="server" Text="更新订单" 
            onclick="btnUpdate_Click" />
            <asp:Button ID="btnDelete" runat="server" Text="删除订单" 
            onclick="btnDelete_Click" />
            <asp:TextBox ID="txtID" runat="server" />
    </div>
    <asp:GridView ID="gvList" runat="server" 
        onselectedindexchanged="gvList_SelectedIndexChanged" 
        onselectedindexchanging="gvList_SelectedIndexChanging" 
        AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" 
        AutoGenerateSelectButton="True" >
        
        </asp:GridView>
    </form>
</body>
</html>
